首页> 外文OA文献 >Juggling Functions Inside a Database
【2h】

Juggling Functions Inside a Database

机译:数据库内的杂耍函数

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

We define and study the Functional Aggregate Query (FAQ) problem, whichcaptures common computational tasks across a very wide range of domainsincluding relational databases, logic, matrix and tensor computation,probabilistic graphical models, constraint satisfaction, and signal processing.Simply put, an FAQ is a declarative way of defining a new function from adatabase of input functions. We present "InsideOut", a dynamic programming algorithm, to evaluate an FAQ.The algorithm rewrites the input query into a set of easier-to-compute FAQsub-queries. Each sub-query is then evaluated using a worst-case optimalrelational join algorithm. The topic of designing algorithms to optimallyevaluate the classic multiway join problem has seen exciting developments inthe past few years. Our framework tightly connects these new ideas in databasetheory with a vast number of application areas in a coherent manner, showingpotentially that a good database engine can be a general-purpose constraintsolver, relational data store, graphical model inference engine, andmatrix/tensor computation processor all at once. The InsideOut algorithm is very simple, as shall be described in this paper.Yet, in spite of solving an extremely general problem, its runtime either is asgood as or improves upon the best known algorithm for the applications that FAQspecializes to. These corollaries include computational tasks in graphicalmodel inference, matrix/tensor operations, relational joins, and logic. Betteryet, InsideOut can be used within any database engine, because it is basicallya principled way of rewriting queries. Indeed, it is already part of theLogicBlox database engine, helping efficiently answer traditional databasequeries, graphical model inference queries, and train a large class of machinelearning models inside the database itself.
机译:我们定义并研究了功能集合查询(Functional Aggregate Query,FAQ)问题,该问题涵盖了非常广泛的领域中的常见计算任务,包括关系数据库,逻辑,矩阵和张量计算,概率图形模型,约束满足和信号处理。是从输入函数的数据库定义新函数的声明性方式。我们提出一种动态编程算法“ InsideOut”来评估FAQ。该算法将输入查询重写为一组易于计算的FAQ子查询。然后,使用最坏情况的最佳关系联接算法评估每个子查询。在过去的几年中,设计算法以最佳地评估经典多路连接问题的主题得到了令人振奋的发展。我们的框架以一致的方式将数据库理论中的这些新思想与大量应用领域紧密联系在一起,潜在地表明,一个好的数据库引擎可以成为通用约束工具,关系数据存储,图形模型推断引擎以及矩阵/张量计算处理器。立刻。如本文所述,InsideOut算法非常简单。尽管解决了一个非常普遍的问题,但其运行时间与FAQ专门针对的应用程序的最佳算法相差无几或有所改进。这些推论包括图形模型推断,矩阵/张量运算,关系联接和逻辑中的计算任务。更好的是,InsideOut可以在任何数据库引擎中使用,因为它基本上是重写查询的原则方法。实际上,它已经是LogicBlox数据库引擎的一部分,可以帮助有效地回答传统的数据库查询,图形模型推理查询,并在数据库内部训练大量的机器学习模型。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号